<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link href="css/style.css" rel="stylesheet">
<link href="css/bootstrap.css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js"></script>
<script type="text/javascript" src="js/jquery/validate-methods.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/showCatalog.js"></script>
<script src="js/selectCatalog.js"></script>
<title>蓝天家政系统</title>
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top container-fluid">
		<div class="navbar-header">
			<a class="navbar-brand" href="#"><span>蓝天家政</span>系统</a>
			<ul class="user-menu">
				<li class="dropdown pull-right"><a href="#"
					class="dropdown-toggle" data-toggle="dropdown"><img
						src="image/user-white.png"
						style="width: 25%; height: 25%; margin-right: 10%;"><label
						class="user">用户</label><span class="caret"></span></a>
					<ul class="dropdown-menu" role="menu">
						<li><a href="javascript:void(0)" onclick="a();"><label
								class="user">详细信息</label></a></li>
						<li><a href="logout.action"> <label class="user">注销</label></a></li>
					</ul></li>
			</ul>
		</div>
	</div>
	<!-- /.container-fluid-->


	<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
		<form role="search">
			<div class="form-group">登录成功</div>
		</form>
		<ul class="nav menu">
		<li><a href="loginSuccessByProvider.jsp">查看个人信息</a></li>
			<li class="active"><a href="listAllType.action">选择服务类型</a></li>
			<li><a href="showServicePrice.action">修改服务价格</a></li>
			<li><a href="getWaitTakeOrderByProvider.action">查看未接订单</a></li>
			<li><a href="getAllOrderByProvider.action">查看您的所有订单</a></li>
			<li role="presentation" class="divider"></li>
			<li><a href="logout.action">注销</a></li>
		</ul>
	</div>


	</div>
	<!--/.sidebar-->
	<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"
		id="main">
		<ol class="breadcrumb">
			<li class="active"><img src="image/home.png" class="home">/&nbsp;&nbsp;选择服务种类:</li>
		</ol>

		<div class="row">
			<div class="col-lg-12">
				<div class="panel-static panel-default">
					<div class="panel-heading">选择服务种类 :</div>
					<div class="panel-body">
					<center>	
	<form action="providerSelectCatalog.action" method="post" id="selectCatalog">

		<!-- <select name="servicetype" id="servicetype" onchange="check(this)"> -->

		<%-- <%Map map=(Map)session.getAttribute("serviceTypeList"); %> --%>

		<select name="servicetype" id="servicetype" onchange="getid()">
			<s:iterator id="list" value="%{#request.serviceTypeList}">

				<option value="key">
					<s:property value="value" />
				</option>
			</s:iterator>

		</select> <br>选择服务目录：<p>

		<div id="div0">
			<s:checkboxlist id="servicecatalog0" name="servicecatalog"
				list="#request.serviceCatalogList1" listKey="key" listValue="value" 
				>
			</s:checkboxlist>
		</div>

		<div id="div1" style="display: none">
			<s:checkboxlist id="servicecatalog1" name="servicecatalog"
				list="#request.serviceCatalogList2" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div2" style="display: none">
			<s:checkboxlist id="servicecatalog2" name="servicecatalog"
				list="#request.serviceCatalogList3" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div3" style="display: none">
			<s:checkboxlist id="servicecatalog3" name="servicecatalog"
				list="#request.serviceCatalogList4" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div4" style="display: none">
			<s:checkboxlist id="servicecatalog4" name="servicecatalog"
				list="#request.serviceCatalogList5" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div5" style="display: none">
			<s:checkboxlist id="servicecatalog5" name="servicecatalog"
				list="#request.serviceCatalogList6" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div6" style="display: none">
			<s:checkboxlist id="servicecatalog6" name="servicecatalog"
				list="#request.serviceCatalogList7" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>

		<div id="div7" style="display: none">
			<s:checkboxlist id="servicecatalog7" name="servicecatalog"
				list="#request.serviceCatalogList8" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>
		<div id="div8" style="display: none">
			<s:checkboxlist id="servicecatalog8" name="servicecatalog"
				list="#request.serviceCatalogList9" listKey="key" listValue="value"
				>
			</s:checkboxlist>
		</div>
		<!-- 您选择了： -->
		<!-- <p id="showResult">母婴护理</p> -->

		<!-- 接收cbl()里的值 id-->
		<input type="hidden" id="catalog" name="catalog" />
		<!-- <p id="catalog"></p> -->

		<input type="submit" value="提交" />
		
	</form>
	您当前已在经营的服务种类有：
	<s:iterator value="#session.priceList" status="stat" id="list">
	<s:property value="#list.servicecatalog.name" /> 
	</s:iterator>
	</center>
					</div>
					<div align="center" style="padding-top: 20px">
						<page:bt />
					</div>
				</div>

			</div>
		</div>
		<!-- /.row -->

	</div>
	<!--/.main-->
</body>
</html>